package com.baige.api.app.sdk.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * 获取支付宝人脸认证的code请求对象
 * @author wulg
 * @date 2018/12/13.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "UserGetFaceCertificationCodeRequest", description = "获取支付宝人脸认证的code请求对象")
public class UserGetFaceCertificationCodeRequest implements Serializable
{
    @NotEmpty(message = "身份证号不能为空")
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    @NotEmpty(message = "真实姓名不能为空")
    @ApiModelProperty(value = "真实姓名")
    private String name;
}
